namespace A1;


public record OrderDetails(Product Product, int Quantity)
{
    private OrderDetails() : this(null, 0)
    {
        
    }
    public override string ToString() => $"{Quantity} x {Product}";
    
    public override int GetHashCode() => HashCode.Combine(Product, Quantity);
}